END END pattern END ( action ) The action(s) associated with the END pattern are executed once after the last input file has been closed. There may be multiple END { action } combinations. Each action is executed in the order in which it is specified.